package net.zjitc.mapper;

import net.zjitc.pojo.Student;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentTwoMapper {
    /**
     * student: 通过gid和age查询学生
     * */
    @Select("select * from student where age =#{age} and gid = #{gid}")
    List<Student> findByConditon(@Param("age") int ages, @Param("gid") int gids);
}
